package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.text.NxLabel;
	import newx.com.control.text.NxText;
	
	public class SacredUI extends BaseUI
	{
		private static var _self			:SacredUI;
		
		public var  la1		:NxLabel;
		public var  la2		:NxLabel;
		//神像等级
		public var  levellabel	:NxLabel;
		//神像经验值
		public var  currnum	:NxLabel;
		public var  label1		:NxLabel;
		public var  label2		:NxLabel;
		public var  label3		:NxLabel;
		
		public var  panl1		:MovieClip;
		public var  panl2		:MovieClip;	
		
		public var  planel1		:MovieClip;
		public var  planel2		:MovieClip;
		public var  planel3		:MovieClip;
		
		public var picMC		:MovieClip;
		
		public var  mc1		:MovieClip;
		public var  mc2		:MovieClip;
		public	var  mc3		:MovieClip;
		
		public var  bg1		:MovieClip;
		public var  bg2		:MovieClip;
		public var  bg3		:MovieClip;
		
		public var  btn1		:NxButton;
		public var  btn2		:NxButton;
		public var  btn3		:NxButton;
		
		public var  textLabel	:NxText;
		public static function getInstance():SacredUI
		{
			if(_self == null)
			{
				_self = new SacredUI();
			}
			return _self;
		}
		public function SacredUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function Init() : void
		{
			SacredLogic.getInstance().Init();
		}
		override protected function	BeforeShow():void
		{
			SacredLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			SacredLogic.getInstance().AfterHide();
		}
	}
}